Skip to content

updated GetFewShotexamples to handle multiple cases in MedicalLLMEnti…#14762

Merged
danilojsl merged 1 commit intorelease/641-release-candidatefrom
updating-getFewShotExamples-in-LLMEntityExtractor
May 8, 2026
Merged

updated GetFewShotexamples to handle multiple cases in MedicalLLMEnti…#14762
danilojsl merged 1 commit intorelease/641-release-candidatefrom
updating-getFewShotExamples-in-LLMEntityExtractor

Conversation

@ahmedlone127
Copy link
Copy Markdown
Contributor

@ahmedlone127 ahmedlone127 commented May 4, 2026

There is an issue when pasing exmaple sentences in colab to the annotator since the scala doesn't handle all type of inputs , this PR imporves upon the ability to handle different input cases for GetFewShotExamples

@danilojsl
Copy link
Copy Markdown
Contributor

@ahmedlone127 Could you add more details to the description of this PR? We need it to include on the release notes.

@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25338342010

Coverage decreased (-0.1%) to 57.177%

Details

  • Coverage decreased (-0.1%) from the base build.
  • Patch coverage: 10 uncovered changes across 1 file (0 of 10 lines covered, 0.0%).
  • 74 coverage regressions across 39 files.

Uncovered Changes

File Changed Covered %
src/main/scala/com/johnsnowlabs/nlp/annotators/ner/dl/LLMEntityExtractor.scala 10 0 0.0%

Coverage Regressions

74 previously-covered lines in 39 files lost coverage.

Top 10 Files by Coverage Loss Lines Losing Coverage Coverage
src/main/scala/com/johnsnowlabs/reader/HTMLReader.scala 9 90.75%
src/main/scala/com/johnsnowlabs/reader/LayoutAlignerForVision.scala 7 93.79%
src/main/scala/com/johnsnowlabs/nlp/annotators/sentence_detector_dl/SentenceDetectorDLModel.scala 4 82.72%
src/main/scala/com/johnsnowlabs/reader/EpubReader.scala 4 61.88%
src/main/scala/com/johnsnowlabs/reader/LayoutAlignerForText.scala 4 89.96%
src/main/scala/com/johnsnowlabs/partition/BasicChunker.scala 3 72.5%
src/main/scala/com/johnsnowlabs/partition/Partition.scala 3 77.17%
src/main/scala/com/johnsnowlabs/reader/ODTReader.scala 3 79.78%
src/main/scala/com/johnsnowlabs/nlp/annotators/tokenizer/bpe/BpeTokenizer.scala 2 68.31%
src/main/scala/com/johnsnowlabs/nlp/util/io/ResourceHelper.scala 2 49.85%

Coverage Stats

Coverage Status
Relevant Lines: 24078
Covered Lines: 13767
Line Coverage: 57.18%
Coverage Strength: 0.57 hits per line

💛 - Coveralls

@danilojsl danilojsl changed the base branch from master to release/641-release-candidate May 7, 2026 20:09
@danilojsl danilojsl merged commit ee5156f into release/641-release-candidate May 8, 2026
5 of 11 checks passed
@danilojsl danilojsl mentioned this pull request May 8, 2026
10 tasks
@danilojsl danilojsl deleted the updating-getFewShotExamples-in-LLMEntityExtractor branch May 8, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants